package com.sherlockHolmes.init.service;

import com.sherlockHolmes.init.entity.dao.Community;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sherlockHolmes.init.entity.dto.ApproveCommunityDTO;

import javax.servlet.http.HttpServletRequest;

/**
* @author 四月一日 君寻
* @description 针对表【community(圈子表)】的数据库操作Service
* @createDate 2024-03-27 11:48:55
*/
public interface CommunityService extends IService<Community>, SearchService {

    int addCommunity(Community community, HttpServletRequest request);

    int applyCommunity(Integer communityId, HttpServletRequest request);

    int approveCommunity(ApproveCommunityDTO approveCommunityDTO, HttpServletRequest request);

    int dissolveTheCommunity(Integer communityId, HttpServletRequest request);
}
